#ifndef VISIBILITYPROTOCOL_H
#define VISIBILITYPROTOCOL_H

#include <QDateTime>
#include <QMetaType>

namespace  protocol
{
    #define VISIBILITY_PROTOCOLALL_LENGTH 97

    class VisibilityProtocol
    {
    public:
        int         m_one_minute_visibility;
        int         m_ten_minute_visibility;
        int         m_TheIntensityOfEmittedEnergy;
        int         m_TheIntensityOfReceivedEnergy;
        double      m_RatedPower;
        double      m_sendPollution;
        double      m_receivedPollution;
        QString     m_deviceState;
        QString     m_device_code;
        QDateTime   m_date_time;
    };
}

Q_DECLARE_METATYPE(protocol::VisibilityProtocol);

#endif // VISIBILITYPROTOCOL_H
